#ifndef EMAIL_DOMAIN_H
#define EMAIL_DOMAIN_H

#include "AddressLiteral.h"
#include "Attribution.h"

namespace email{

	class Domain : public Attribution
	{
	private:
		QString address;
		AddressLiteral addressLiteral;
	public:
		QString &getAddressRef() {return address;}
		AddressLiteral &getAddressLiteralRef(){return addressLiteral;}
		virtual void parse(QString str);
		virtual QString toString(){return "";}
		virtual void toDisplayString(QXmlStreamWriter & writer){}
		virtual void toXMLString(QXmlStreamWriter & writer){}
	};

}

#endif